home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: news.eunet.fi!nullnet!tna!marcus.alanen
- From: marcus.alanen@tna.nullnet.fi (Marcus Alanen)
- Subject: Re: Fastest way to displa
- Message-ID: <64_5737@tna.nullnet.fi>
- References: <4l0pi6$gus@mn5.swip.net> <4l2f1k$eqt@mn5.swip.net>
- Organization: The New Age BBBS
- Sender: news@tna.nullnet.fi (News Administrator)
- Date: 19 Apr 1996 20:05:06 +0200
- MIME-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
-
- > In article <4l0pi6$gus@mn5.swip.net>, Ola.Lindgren@mailbox.swipnet.se
- > (Daniel Hallgren) says:
-
- >>I'm thinking of writing a game, and I wonder which way is the best and fastes
-
- >>to display graphics on a customscreen opened with OpenScreenTagList()?
- > A superbitmap window is definitely overkill. There's two simple
- > options: 1) Just write to the screens bitmap which you either let
- > OpenScreenTagList() create, or supply your own. By having two bitmaps
- > which you alternate between, i.e. draw on one and display the other,
- > and when the drawing is finished switch screens, so that you display
- > the newly drawn bitmap and draw on the other. This tecnique is called
- > Double Buffering. (In v39+ there's some functions for this in
- > graphics.library)
-
- I need to draw a map made of 16x16 icons, every now and then but
- not all the time (strategy game). Is the routines provided by
- graphics.library fast enough?? On my A500 it looks quite slow,
- not that I couldn't live with it, but anyway... I use
- BlitBitMap() on a single buffered screen (Kickstart V33).
- Do gfx-routines wait 1/50th of a second for each blit, or
- do you have any ideas for improvement?
-
- > 2) Open a borderless backdrop window on which cover the entier screen.
- > This has the advantage that you can add gadget (gadtools too) to the
- > display.
-
- Should the window be +11 pixels at the top, so that you can
- grab the screen and move it? Or does it matter, will Intuition
- still think that the user is grabbing the screen and not activating
- the window?
-
- > Peter Liljenberg
-
- Marcus Alanen
- marcus.alanen@tna.nullnet.fi
-